<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of actions
 *
 * @author JFernando
 */
class ReporteanalisisActions extends sfActions {

    public function executeAnalisis(sfWebRequest $request) {

        $aux = $this->getUser()->getAttribute('id_prore');
        $this->idpro = $aux;
        $pro = Doctrine_Query::create()
                ->from('proyecto p')
                ->where('.id_pro = ?', $aux);
        $this->proyecto = $pro->fetchOne();
        $this->listafondos = Doctrine::getTable('fondo')->createQuery('f')
                ->where('f.id_pro = ?', $this->idpro)
                ->execute();

        
    }

}

